var express = require('express');
var compression = require('compression')
var app = require('express')(),
	server = require('http').createServer(app);

app.use(compression());

const proName = "demo"
app.use(express.static('./www/' + proName));
app.get('/', function(req, res) {
	res.sendfile(__dirname + '/index.html');
});
server.listen(3000, () => {
	console.log(`服务启动成功：localhost:3000`);
});
